package nu.member.model;

import java.util.HashMap;
import java.util.List;

import nu.board.model.GroupVO;
import nu.board.model.MemberGroupVO;

public interface MemberDao {

	public MemberVO selectLogin(MemberVO vo) throws Exception;

	public int insertMember(MemberVO vo) throws Exception;

	public MemberVO selectMemberById(String id) throws Exception;

	public int updateMember(MemberVO vo) throws Exception;

	public int selectCountById(String id) throws Exception;

	public List<GroupVO> selectGroupListByMemberId(String id) throws Exception;

	public int insertMemberToGroup(MemberGroupVO mgvo) throws Exception;

	public int updateGroupCurrent(int group_id) throws Exception;

	public void updateStudyNickName(MemberVO vo) throws Exception;

	public void updateSportsNickName(MemberVO vo) throws Exception;

	public void updateSmokingNickName(MemberVO vo) throws Exception;

	public void updateFinanceNickName(MemberVO vo) throws Exception;

	public void updateLivingNickName(MemberVO vo) throws Exception;

	public MemberVO selectMemberInfo(MemberVO vo) throws Exception;

	public void plusStudyPointById(String writer) throws Exception;

	public void plusSportsPointById(String writer) throws Exception;

	public void plusSmokingPointById(String writer) throws Exception;

	public void plusFinancePointById(String writer) throws Exception;

	public void plusLivingPointById(String writer) throws Exception;

	public String selectNickContent(String nick, String type) throws Exception;
	
	public String selectSavefilenameById(String id)throws Exception;
}
